package com.ssm.supplier.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author ssm
 * @email sunlightcs@gmail.com
 * @date 2023-03-19 17:27:39
 */
@Data
@TableName("ssm_suorder")
public class SsmSuorderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 供货订单号
	 */
	@TableId
	private String suId;
	/**
	 * 司机id
	 */
	private Integer sjId;
	/**
	 * 供货点id
	 */
	private Integer ghId;
	/**
	 * 总价
	 */
	private Integer price;
	/**
	 * 交易单号
	 */
	private String payOrder;
	/**
	 * 提交时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createTime;
	/**
	 * 状态
	 */
	private String state;

}
